import mongoose, { Schema } from 'mongoose';

const schema = new Schema(
  {
    content: { type: String, required: true },
    template_group: {
      type: Schema.Types.ObjectId,
      ref: 'ReplyTemplateGroup',
      required: true,
    },
  },
  {
    collection: 'reply_templates',
  },
);

export default mongoose.model('ReplyTemplate', schema);
